<?php session_start();
include('includes/connect.php');
if(isset($_SESSION['record_status']) && $_SESSION['record_status']=='Y')
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hoonur.com allows you to connect with the right professionals in the entertainment industry</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/tabcontent.css">
<script type="text/javascript" src="js/tabcontent.js"></script>
</head>
<body>
<div id="wrapper">
<?php 
$title="Settings";
include("header.php"); 

$user = mysql_query("select * from users where user_id=".$_SESSION['user_id']);
$getUser = mysql_fetch_array($user);

	
?>
	<div id="mobiletabs" class="indentmenu">
		<ul>
			<li><a href="#" rel="chUnm" class="selected">Change Username</a></li>
			<li><a href="#" rel="chPass">Change Password</a></li>
			<li><a href="#" rel="emailSett">Email Settings</a></li>
			<li><a href="#" rel="persDetails">Personal Details</a></li>
			<li><a href="#" rel="phyDeatails">Physical Details</a></li>
			<li><a href="#" rel="myPgSett">My Page Settings</a></li>
			<li><a href="#" rel="feedsSett" id='last'>Feeds Settings</a></li>
			<li><a href="#" rel="socialNet" id='last'>Social Networks</a></li>

		</ul>
	</div>

	<div class="tab">
		<div id="chUnm" class="tabcontent">
			<br /><?php include('chUnm.php');?>
		</div>
		<div id="chPass" class="tabcontent">
			<br /><?php include('chPass.php');?>
		</div>
		<div id="emailSett" class="tabcontent">
			<br /><?php //include('emailSett.php');?>
		</div>
		<div id="persDetails">
			<br /><?php //include('persDetails.php');?>
		</div>
		<div id="phyDeatails" class="tabcontent">
			<br /><?php //include('phyDeatails.php');?>
		</div>
		<div id="myPgSett" class="tabcontent">
			<br /><?php //include('myPgSett.php');?>
		</div>
		<div id="feedsSett" class="tabcontent">
			<br /><?php //include('feedsSett.php');?>
		</div>
		<div id="socialNet" class="tabcontent">
			<br /><?php //include('socialNet.php');?>
		</div>
	</div>
<div style="clear:both;"></div>
	<div id="add">
		<img src="images/addsense.jpg" />
	</div>
	
		<script type="text/javascript">
			var mypets=new ddtabcontent("mobiletabs")
			mypets.setpersist(true)
			mypets.setselectedClassTarget("#chUnm")
			mypets.init()
		</script>

<?php
	include("footer.php"); 
?>
</div>
</body>
</html>
<?php
}
else
{
	header("Location:verify-email.php");
}
?>
